package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 续班表(最终方案)
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("renew_data")
@ApiModel(value = "RenewData对象", description = "续班表(最终方案)")
public class RenewData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("校区")
    private Long schoolId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    private Integer yearClassId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("老师id")
    private Long teacherId;

    @ApiModelProperty("老师姓名")
    private String teacherName;

    @ApiModelProperty("是否校长：0否，1是")
    private Integer isRestor;

    @ApiModelProperty("当前报读的年份")
    private Integer yearPart;

    @ApiModelProperty("当前报读的季度")
    private Integer quarterNum;

    @ApiModelProperty("续班年份")
    private Integer yearPartRenew;

    @ApiModelProperty("续班季度")
    private Integer quarterNumRenew;

    @ApiModelProperty("0否,1是")
    private Integer isRenew;

    @ApiModelProperty("是否真正续班成功（大于2课次，6个课时）")
    private Integer trueRenew;

    @ApiModelProperty("1连续季度续班：如春续暑，2隔季续班：如春续秋")
    private Integer type;

    @ApiModelProperty("续班日期")
    private LocalDate renewDate;

    @ApiModelProperty("等级：1市级，2县级")
    private Integer level;

    @ApiModelProperty("订单id")
    private Long orderDetailId;

    @ApiModelProperty("续班类型1缴费，2转课")
    private Integer renewType;

    @ApiModelProperty("是否新生，1是，0否")
    private Integer isNewStudent;

    private Long createdId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Integer getYearClassId() {
        return yearClassId;
    }

    public void setYearClassId(Integer yearClassId) {
        this.yearClassId = yearClassId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public Integer getIsRestor() {
        return isRestor;
    }

    public void setIsRestor(Integer isRestor) {
        this.isRestor = isRestor;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getYearPartRenew() {
        return yearPartRenew;
    }

    public void setYearPartRenew(Integer yearPartRenew) {
        this.yearPartRenew = yearPartRenew;
    }
    public Integer getQuarterNumRenew() {
        return quarterNumRenew;
    }

    public void setQuarterNumRenew(Integer quarterNumRenew) {
        this.quarterNumRenew = quarterNumRenew;
    }
    public Integer getIsRenew() {
        return isRenew;
    }

    public void setIsRenew(Integer isRenew) {
        this.isRenew = isRenew;
    }
    public Integer getTrueRenew() {
        return trueRenew;
    }

    public void setTrueRenew(Integer trueRenew) {
        this.trueRenew = trueRenew;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public LocalDate getRenewDate() {
        return renewDate;
    }

    public void setRenewDate(LocalDate renewDate) {
        this.renewDate = renewDate;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public Long getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public Integer getRenewType() {
        return renewType;
    }

    public void setRenewType(Integer renewType) {
        this.renewType = renewType;
    }
    public Integer getIsNewStudent() {
        return isNewStudent;
    }

    public void setIsNewStudent(Integer isNewStudent) {
        this.isNewStudent = isNewStudent;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "RenewData{" +
            "id=" + id +
            ", schoolId=" + schoolId +
            ", subjectsId=" + subjectsId +
            ", yearClassId=" + yearClassId +
            ", studentId=" + studentId +
            ", teacherId=" + teacherId +
            ", teacherName=" + teacherName +
            ", isRestor=" + isRestor +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", yearPartRenew=" + yearPartRenew +
            ", quarterNumRenew=" + quarterNumRenew +
            ", isRenew=" + isRenew +
            ", trueRenew=" + trueRenew +
            ", type=" + type +
            ", renewDate=" + renewDate +
            ", level=" + level +
            ", orderDetailId=" + orderDetailId +
            ", renewType=" + renewType +
            ", isNewStudent=" + isNewStudent +
            ", createdId=" + createdId +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
        "}";
    }
}
